Skip to content

Conversation

@panzi
Copy link

@panzi panzi commented Apr 20, 2017

On an empty message message.args[2] was undefined and calling .trim() on that crashed. And if message.args[2] would have been '' the result would be [''], which would have been also wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant